<?php

namespace Modules\Activity\Entities\Lottery;

use Illuminate\Database\Eloquent\Builder;

use Modules\Core\Entities\BaseEntity as Model;

use ThrowException;

class InviteeRecord extends Model
{
    // 代付订单

    protected $guarded = [];
    protected $table = 'lottery_invite_records';

    static public $resourceName = '邀请记录';

    public function invitee() 
    {
    	return $this->belongsTo('\Modules\User\Entities\User', 'invitee_id');
    }
}
